package cn.edu.zjgsu.dao;

import java.io.Serializable;
import java.util.List;

/**
 * @author: mwq
 * DateTime: 2017/11/8 22:26
 * Description:
 */
public interface BaseDao<T>
{
    public void save(T entity);

    public void update(T entity);

    public void delete(Serializable id);

    public T findById(Serializable id);

    public List<T> findByHQL(String hql, Object... params);
}
